package com.ebspp.client.buffer;

import com.ebspp.client.placement.IPlacement;
import com.ebspp.thrift.DataMsg;
import com.ebspp.thrift.ResourceType;

public interface IBuffer 
{
	public int getBufID();
	public ResourceType getResType();
	public IPlacement getPlacementCB();
	
	public boolean write(DataMsg msg);
	public DataMsg read(DataMsg msg);
	public boolean close();
	
	public boolean isFullIfWriteSize(int size);
}
